* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  font-family: 'Microsoft YaHei', sans-serif;
  /* background: linear-gradient(135deg, #3a1067 0%, #1e4c9b 100%); */
  background-image: url(../pic/背景图.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #333;
  padding: 20px;
  min-height: 100vh;

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 25px;
  position: relative;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* 使用Base64编码的背景图作为备用方案 */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="%23f8f9fa" width="100" height="100"/><path fill="%23e9ecef" d="M0 0h100v100H0zM20 20h60v60H20z"/></svg>');
  background-repeat: repeat;
  opacity: 0.03;
  z-index: -1;
}

.header {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #a6ae96 0%, #e4e012 100%);
  color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 2.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.2rem;
  opacity: 0.9;
}

h2 {
  text-align: center;
  color: #c91e3b;
  padding: 10px 15px;
  border-bottom: 2px solid #316181;
  margin: 25px 0 15px 0;
  border-radius: 5px;
  background: #f8f9fa;
}

.section-title {
  text-align: center;
  color: #bf7873;
  font-weight: bold;
  margin: 15px 0 10px 0;
  font-size: 18px;
}

.custom-table {

  width: 100%;
  max-width: 400px;
  border-collapse: collapse;
  /* margin: 15px 0; */
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background: white;
}

.custom-table th {
  background: linear-gradient(135deg, #f30707 0%, #c1f506 100%);
  color: white;
  padding: 12px;
  text-align: center;
  font-size: 18px;
}

.custom-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  font-size: 16px;
}

.custom-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.custom-table tr:hover {
  background-color: #f1f1f1;
  transition: background-color 0.3s;
}

.price {
  font-weight: bold;
  color: #e74c3c;
}

.product-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin: 8px;
  border: 2px solid #ddd;
  transition: all 0.3s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.product-img:hover {
  transform: scale(1.08);
  border-color: #3498db;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.video-link {
  display: inline-block;
  margin: 15px 0;

  padding: 12px 20px;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);

  /* position: absolute;
  right: 17px;
  top: -144px; */
  position: relative;
  left: 517px;
}

.video-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  color: white;
}

.category-wrapper {
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

  /* position: relative; */
}

.images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 15px 0;


}

.footer {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  color: #6c757d;
  font-size: 0.9rem;
}

.debug-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 30px;
  border-left: 4px solid #e74c3c;
}

.debug-title {
  color: #e74c3c;
  font-weight: bold;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .product-img {
    width: 80px;
    height: 80px;
  }
}